package com.lanou.mapper;

import com.lanou.bean.ProductBean;
import com.lanou.bean.ProductTypeCountBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by dllo on 18/3/13.
 */
@Repository
public interface CompanyProductMapper {

    List<ProductTypeCountBean> companyHomeProductInFo(String companyName);

    List<ProductTypeCountBean> productCommonalityTypeCount(String companyName);

    List<ProductBean> companyProductList(@Param("companyName") String companyName);

    String companyproductPhoto(Integer id);

    List<ProductBean> companyPrductTypeList(@Param("companyName") String companyName, @Param("house") String house);

}
